<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
%>
<!DOCTYPE html>
<html lang="zh-cmn-Hans">
<head>
    <meta charset="UTF-8">
<meta name="viewport" content="width=device-width,user-scalable=no,maximum-scale=1" />
    <title>分享广告</title>
    <script type="text/javascript" src="<%=path %>/static/js/jquery.js"></script>
    <script type="text/javascript" src="<%=path %>/static/layer/layer.js"></script>
    <script type="text/javascript" src="js/js.js"></script>
    <link rel="stylesheet" type="text/css" href="css/css.css?v=1" />
    <script>
       function download(){
          location.href="http://imtt.dd.qq.com/16891/8E2DFE5986115DFBAAC1A4709303FA1D.apk?fsname=com.zl.qianhu_1.28_28.apk&csr=1bbd";
       }
    </script>
</head>
<body onload="download()" style="background:url(images/inviter_success_bg.png) no-repeat;background-size:100% 100%;">
   <form id="form1">
      <!--<div style="position:absolute;left:0;top:290px;line-height:26px;width:100%;text-align:left;font-size:14px;color:#ff0000;padding-left:16px;">
         <span style="font-weight:bold">如果没有自动下载，请通过下面途径下载</span><br>
         1.右上角在浏览器中打开下载<br>
         2.应用宝等下载市场中输入“钱狐”搜索下载<br>
         3.在钱狐网络官网下载<a href="http://www.qianhuu.com">www.qianhuu.com</a>
      </div>-->
      <input type="button" onclick="download()" style="display:none" />
      <a id="btndown" href="http://imtt.dd.qq.com/16891/8E2DFE5986115DFBAAC1A4709303FA1D.apk?fsname=com.zl.qianhu_1.28_28.apk&csr=1bbd"></a>
      <a style="display:block;width:110px;height:110px;position:absolute;left:2.4rem;top:5.6rem;" href="http://a.app.qq.com/o/simple.jsp?pkgname=com.zl.qianhu"></a>
   </form>
   <script>

      //document.getElementById("btndown").click();
      /*var i=0;
      setTimeout("down()",1000);
      function down(){
         if(i==0){
             document.getElementById("btndown").click();
         }
         i++;
      }*/
   </script>
</body>
</html>
